﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPager-trangadmin.master" AutoEventWireup="true" CodeFile="Them-Hang-Xe2.aspx.cs" Inherits="Them_Hang_Xe2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <table border="1px">
            <tr>
                <td>
                    <asp:Label ID="Label2" runat="server" Text="Danh Sách Hãng Xe:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="nsx" runat="server" Width="200px" DataSourceID="SqlDataSource1"
                        DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %> "
                        SelectCommand="SELECT [id], [name] FROM [nhasanxuat]"></asp:SqlDataSource>
                          <asp:DropDownList ID="dongxe" runat="server" Width="200px" 
                        DataSourceID="SqlDataSource2" DataTextField="name" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [dongxe]"></asp:SqlDataSource>
                   
                     <asp:DropDownList ID="doixe" runat="server" Width="200px" 
                        DataSourceID="SqlDataSource3" DataTextField="nam" DataValueField="id">
                    </asp:DropDownList>
                    <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                        ConnectionString="<%$ ConnectionStrings:hyundaisaigonConnectionString %>" 
                        SelectCommand="SELECT * FROM [doixe]"></asp:SqlDataSource>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label ID="lblRes" runat="server" Text=""></asp:Label>
                </td>
                <td>
                    <asp:TextBox ID="txtHangXe" runat="server"></asp:TextBox>
                </td>
            </tr>
        </table>
        <asp:Button ID="btnSubmit" runat="server" Text="Xác Nhận" OnClick="Submit_CLick" />
        <asp:Label ID="lblxacnhan" runat="server" Text=""></asp:Label>
    </div>
</asp:Content>

